package Homework5;

public class Homework5_3_TestChef {
    public static void main(String[] args) {
        Chef chef = new Chef();
        ChineseChef chineseChef = new ChineseChef();
        FrenchChef frenchChef = new FrenchChef();
        ItalianChef italianChef = new ItalianChef();

        Chef c = chef;
        c.makeFish();
        c.makeSoap();
        c.makeNoodles();
        System.out.println();

        c = chineseChef;
        c.makeFish();
        c.makeSoap();
        c.makeNoodles();
        System.out.println();

        c = frenchChef;
        c.makeFish();
        c.makeSoap();
        c.makeNoodles();
        System.out.println();

        c = italianChef;
        c.makeFish();
        c.makeSoap();
        c.makeNoodles();
    }
}
